package com.jiudaoliu.homeprototype.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * @Package com.chenjian.homecore.dataobject.entity
 * @Description: 标签实体
 * @Author 陈建
 * @Create: 2018-08-23 16:06
 * @Version 1.0
 * @Update: message
 */
@Data
@Entity
public class LabelEntity {
    /**
     * @Description: 主键
     * @Author: 陈建
     * @date: 2018/9/10 14:27
    */
    @Id
    @GeneratedValue
    private Long id;

    /**
     * @Description: 内部标记
     * @Author: 陈建
     * @date: 2018/9/10 16:31
    */
    private String code;

    /**
     * @Description: 标签名称(简短)
     * @Author: 陈建
     * @date: 2018/9/10 14:26
    */
    @Column
    private String labelName;
}
